package com.xuecheng.learning.learning;

import com.xuecheng.framework.client.XcServiceList;
import com.xuecheng.framework.domain.course.TeachplanMedia;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = XcServiceList.XC_SERVICE_SEARCH)
public interface CourseSearchClient {

    /**
     * @Description 根据教学计划id获取媒资文件
     * @author ShengJinFeng
     * @date 2020/3/7
     */
    @GetMapping("/search/course/getmedia/{teachplanId}")
    public TeachplanMedia getmediaByTeachplanId(@PathVariable("teachplanId") String teachplanId);
}
